package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.util.Date;

public class OrdersTransferManage implements Serializable {
    /**
     * 主键
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 原商品id
     *
     * @mbg.generated
     */
    private Integer orangeProductId;

    /**
     * 转单目标商品id
     *
     * @mbg.generated
     */
    private Integer targetProductId;

    /**
     * 每次退单转单数量
     *
     * @mbg.generated
     */
    private Integer transferNum;

    /**
     * 状态 0-停用 1-启用
     *
     * @mbg.generated
     */
    private Integer status;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 更新时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     * 是否删除 0-未删除 1-已删除
     *
     * @mbg.generated
     */
    private Integer isDeleted;

    /**
     * 原规格JSON
     *
     * @mbg.generated
     */
    private String orangeProductSpec;

    /**
     * 转单目标规格JSON
     *
     * @mbg.generated
     */
    private String targetProductSpec;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrangeProductId() {
        return orangeProductId;
    }

    public void setOrangeProductId(Integer orangeProductId) {
        this.orangeProductId = orangeProductId;
    }

    public Integer getTargetProductId() {
        return targetProductId;
    }

    public void setTargetProductId(Integer targetProductId) {
        this.targetProductId = targetProductId;
    }

    public Integer getTransferNum() {
        return transferNum;
    }

    public void setTransferNum(Integer transferNum) {
        this.transferNum = transferNum;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public String getOrangeProductSpec() {
        return orangeProductSpec;
    }

    public void setOrangeProductSpec(String orangeProductSpec) {
        this.orangeProductSpec = orangeProductSpec;
    }

    public String getTargetProductSpec() {
        return targetProductSpec;
    }

    public void setTargetProductSpec(String targetProductSpec) {
        this.targetProductSpec = targetProductSpec;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", orangeProductId=").append(orangeProductId);
        sb.append(", targetProductId=").append(targetProductId);
        sb.append(", transferNum=").append(transferNum);
        sb.append(", status=").append(status);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", isDeleted=").append(isDeleted);
        sb.append(", orangeProductSpec=").append(orangeProductSpec);
        sb.append(", targetProductSpec=").append(targetProductSpec);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}